﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace IOA.MES.DataAccess.VModel
{
    public class VConditionBaseVModel : BaseVModel
    {
        private string _orderNo;
        private string _workOrderNo;
        private string _customerCode;
        private string _customerName;

        /// <summary>
        /// 订单号
        /// </summary>
        public string OrderNo
        {
            get { return string.IsNullOrWhiteSpace(_orderNo) ? string.Empty : _orderNo; }
            set { _orderNo = value; }
        }

        /// <summary>
        /// 工单号
        /// </summary>
        public string WorkOrderNo
        {
            get { return string.IsNullOrWhiteSpace(_workOrderNo) ? string.Empty : _workOrderNo; }
            set { _workOrderNo = value; }
        }

        /// <summary>
        /// 客户代码
        /// </summary>
        public string CustomerCode
        {
            get { return string.IsNullOrWhiteSpace(_customerCode) ? string.Empty : _customerCode; }
            set { _customerCode = value; }
        }

        /// <summary>
        /// 客户名称
        /// </summary>
        public string CustomerName
        {
            get { return string.IsNullOrWhiteSpace(_customerName) ? string.Empty : _customerName; }
            set { _customerName = value; }
        }

        /// <summary>
        ///等级限制
        /// </summary>
        public Enum.QLevelCondition QLevelCondition { get; set; }

        /// <summary>
        /// 数量限制
        /// </summary>
        public int? QuantityLimit { get; set; }

        /// <summary>
        /// 订单号
        /// </summary>
        public bool OrderNoLimit { get; set; }

        /// <summary>
        /// 工单号
        /// </summary>
        public bool WorkOrderNoLimit { get; set; }

        /// <summary>
        /// 铭牌型号
        /// </summary>
        public bool DataPlate { get; set; }

        /// <summary>
        /// 额定功率
        /// </summary>
        public bool RatedPower { get; set; }

        /// <summary>
        /// 电流档
        /// </summary>
        public bool ElectricGrade { get; set; }

        /// <summary>
        /// 组件等级
        /// </summary>
        public bool CompGrade { get; set; }

        /// <summary>
        /// 组件颜色
        /// </summary>
        public bool CompColor { get; set; }

        /// <summary>
        /// 接线盒规格
        /// </summary>
        public bool JunBoxSpecs { get; set; }

        /// <summary>
        /// 接线盒厂家
        /// </summary>
        public bool JunBoxFactory { get; set; }

        /// <summary>
        /// 背板规格
        /// </summary>
        public bool BackPlanSpecs { get; set; }

        /// <summary>
        /// 背板厂家
        /// </summary>
        public bool BackPlanFactory { get; set; }

        /// <summary>
        /// 铝框规格
        /// </summary>
        public bool AluFrameSpecs { get; set; }

        /// <summary>
        /// 铝框厂家
        /// </summary>
        public bool AluFrameFactory { get; set; }

        /// <summary>
        /// 电池片规格
        /// </summary>
        public bool BatterySpecs { get; set; }

        /// <summary>
        /// 电池片厂家
        /// </summary>
        public bool BatteryFactory { get; set; }
    }
}
